package com.dd.cloud.user.entity.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 * @date 2023/9/18
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "问题[有用/没用]点击表表")
public class ProblemHelpClick implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 问题id
     */
    @Column(comment = "问题id")
    private Integer problemId;

    /**
     * 医生id
     */
    @Column(comment = "医生id")
    private Integer docId;

    /**
     * 点击类型 1有用 2没用
     */
    @Column(comment = "点击类型 1有用 2没用")
    private Integer type;

    /**
     * 状态 1有效 -1删除(无效)
     */
    @Column(comment = "状态 1有效 -1删除(无效)")
    private Integer status;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
